package com.cm;

import java.util.LinkedList;
import java.util.List;

public class Cm_file {
	private String xmlnename;
	private List<Cm_header> cmheaders = new LinkedList<Cm_header>();
	private List<Cm_root_object> cmrootobjs = new LinkedList<Cm_root_object>();
	private List<Cm_object> cmobjs = new LinkedList<Cm_object>();
	
	public List<Cm_header> getCmheaders() {
		return cmheaders;
	}
	public void setCmheaders(List<Cm_header> cmheaders) {
		this.cmheaders = cmheaders;
	}
	public List<Cm_root_object> getCmrootobjs() {
		return cmrootobjs;
	}
	public void setCmrootobjs(List<Cm_root_object> cmrootobjs) {
		this.cmrootobjs = cmrootobjs;
	}
	public List<Cm_object> getCmobjs() {
		return cmobjs;
	}
	public void setCmobjs(List<Cm_object> cmobjs) {
		this.cmobjs = cmobjs;
	}

	public void addCmheaders(Cm_header cmheader){
		cmheaders.add(cmheader);
	}
	
	public void addCmrootobjs(Cm_root_object cmrootobj){
		cmrootobjs.add(cmrootobj);
	}
	
	public void addCmobjs(Cm_object cmobj){
		cmobjs.add(cmobj);
	}

	public String getXmlnename() {
		return xmlnename;
	}

	public void setXmlnename(String xmlnename) {
		this.xmlnename = xmlnename;
	}
	
}
